#!/bin/sh

#if [ ! -e /tmp/havp ]
#then
#	#echo "No find /tmp/havp."
#	/bin/mkdir /tmp/havp
#fi

s=`/bin/df | /bin/grep shm | /bin/awk '{print $5}' | /bin/awk -F% '{print $1}'`
b=99

if [ "$s" -gt "$b" ];  then
	#echo "No tmp space and del /tmp/clamav-*."
	/bin/rm -rf /tmp/clamav-*
fi


